package com.bytic.miaosha.service;

import com.bytic.miaosha.vo.LoginVO;
import com.bytic.miaosha.domain.MiaoshaUser;
import com.bytic.miaosha.result.CodeMsg;

import javax.servlet.http.HttpServletResponse;

public interface MiaoshaUserService {

    public MiaoshaUser getById(long id);

    public String login(HttpServletResponse response, LoginVO loginVO);

    public MiaoshaUser getUserByToken(HttpServletResponse response, String token);

    public boolean updatePassword(String token, long id, String formPass);
}
